home *** CD-ROM | disk | FTP | other *** search
/ BMUG Revelations / BMUG Revelations.toast / Programming / Programming Languages / Harvest C / MPW Int & Lib / Interfaces / FileTransferTools.h < prev    next >
Text File  |  1991-04-17  |  2KB  |  81 lines

  1. /*
  2.     File:        FileTransferTools.h
  3.  
  4.     Contains:    C Interface to the File Transfer Manager Tools
  5.  
  6.     Copyright:    © 1988-1990 by Apple Computer, Inc.
  7.                 All rights reserved.
  8.  
  9. */
  10.  
  11. #ifndef __FILETRANSFERTOOLS__
  12. #define __FILETRANSFERTOOLS__
  13.  
  14. #ifndef __DIALOGS__
  15. #include <Dialogs.h>
  16. #endif
  17.  
  18. #ifndef __FILETRANSFERS__
  19. #include <FileTransfers.h>
  20. #endif    __FILETRANSFERS__
  21.  
  22. /* messages */
  23. /* Control */
  24. #define        ftInitMsg        0
  25. #define        ftDisposeMsg    1
  26. #define        ftSuspendMsg    2
  27. #define        ftResumeMsg        3
  28. #define        ftMenuMsg        4
  29. #define        ftEventMsg        5
  30. #define     ftActivateMsg     6
  31. #define     ftDeactivateMsg 7
  32. #define        ftGetErrorStringMsg 8
  33.  
  34. #define        ftAbortMsg        52
  35.  
  36. #define        ftStartMsg        100
  37. #define        ftExecMsg        102
  38.  
  39. /*Setup */
  40. #define        ftSpreflightMsg        0
  41. #define        ftSsetupMsg            1
  42. #define        ftSitemMsg            2
  43. #define        ftSfilterMsg        3
  44. #define        ftScleanupMsg        4
  45.  
  46. /* validate */
  47. #define        ftValidateMsg        0
  48. #define        ftDefaultMsg        1
  49.  
  50. /* scripting */
  51. #define        ftMgetMsg            0
  52. #define        ftMsetMsg            1
  53.  
  54. /* localization */
  55. #define        ftL2English            0
  56. #define        ftL2Intl            1
  57.  
  58. /* DEFs */
  59. #define        fdefType        'fdef'
  60. #define        fsetType        'fset'
  61. #define        fvalType        'fval'
  62. #define        flocType        'floc'
  63. #define        fscrType        'fscr'
  64.  
  65. #define        fbndType        'fbnd'
  66. #define        fverType        'vers'
  67.  
  68.  
  69. struct FTSetupStruct
  70. {
  71.     DialogPtr    theDialog;            /* the dialog form the application */
  72.     short        count;                /* first appended item */
  73.     Ptr            theConfig;            /* the config record to setup */
  74.     short        procID;                /* procID of the tool */
  75. };
  76.  
  77. typedef struct FTSetupStruct FTSetupStruct;
  78.  
  79. typedef FTSetupStruct *FTSetupPtr;    
  80.     
  81. #endif __FILETRANSFERTOOLS__